package com.hdaccp.letting2.service;
import com.hdaccp.letting2.entity.Userinfo;
import com.hdaccp.letting2.service.UserInfoService;
import java.util.List;
public class UserInfoServiceSub implements UserInfoService {
    private UserInfoService userInfoService ;

    public UserInfoServiceSub(UserInfoService userInfoService) {
        this.userInfoService = userInfoService;
    }

    @Override
    public List<Userinfo> query() {
        System.out.println("sub....");
        return userInfoService.query();
    }
}
